@echo off

if "%BASEPATH%" == "" (
   if "%1"=="" (
      set BASEPATH=.
   ) else (
      set BASEPATH=%1
   )
)

native2ascii -encoding Cp1251 %BASEPATH%\ru\arriah\servicedesk\config_ru.Cp1251.properties > %BASEPATH%\..\..\build\ru\arriah\servicedesk\config.properties